package com.yuwei.lib_http


import com.yuwei.http.ApiService
import com.yuwei.http.getService
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton

@Module
@InstallIn(SingletonComponent::class)
object ProviderFactory {
    @Provides
    @Singleton
    fun getApiService() : ApiService = getService()

}